package board.to;

public class GeneratorTO {
	private int generate;
	private int result;
	public GeneratorTO() {
		super();
	}
	public GeneratorTO(int generate, int result) {
		super();
		this.generate = generate;
		this.result = result;
	}
	public int getGenerate() {
		return generate;
	}
	public void setGenerate(int generate) {
		this.generate = generate;
	}
	public int getResult() {
		return result;
	}
	public void setResult(int result) {
		this.result = result;
	}
	@Override
	public String toString() {
		return "GeneratorTO [generate=" + generate + ", result=" + result + "]";
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + generate;
		result = prime * result + this.result;
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		GeneratorTO other = (GeneratorTO) obj;
		if (generate != other.generate)
			return false;
		if (result != other.result)
			return false;
		return true;
	}
	public GeneratorTO(int generate) {
		super();
		this.generate = generate;
	}
	
	
}
